﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;

    public interface IDcms_RoleDAL
    {
        Dcms_RoleModel AddModel(Dcms_RoleModel model);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        IList<Dcms_RoleModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        int GetLevel(int RoleID);
        Dcms_RoleModel GetModelByID(int ID);
        IList<Dcms_RoleModel> GetModelList();
        Dcms_RoleModel Update(Dcms_RoleModel model);
    }
}

